package com.ch.light.web.mapper;

import com.ch.light.web.model.Menu;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface MenuMapper extends Mapper<Menu> {

    List<Map<String,Object>> findTreeByRoleId(@Param("roleId") String roleId);

    List findTree();

    List<String> findCodeByRoleId(@Param("roleId") String roleId);
}